vulkan: Handle changing window scale
authorMatthias Clasen <mclasen@redhat.com>
Sat, 28 Oct 2017 15:57:53 +0000 (11:57 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 28 Oct 2017 15:57:53 +0000 (11:57 -0400)
commit6560961c5967c8c6251842347cc31679c1a56b77
tree91448b76ae06c23b6590ed47ab624ee8206aa80a
parentdc0570cc17375d980ea7d38d99c9480839edc57f
vulkan: Handle changing window scale

The code that checks for the proper size of the our swapchain
was not taking window scale fully into account. With this change,
setting the window scale to 2 in the inspector causes the window
to grow and rendering to be scaled up as expected, with Vulkan,
in the same way it already is with cairo.
gdk/gdkvulkancontext.c